import { post } from '@/utils/request'

const prefix = 'user'

export default {
  grantAdmin: (data, id) => {
    return post(`${prefix}/default/update?id=${id}`, data)
  }
}
